<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>JGProgressHUD Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1333)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">JGProgressHUD </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Jonas Gessner</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/HUDView">HUDView</option>
		
		<option value="//api/name/contentInsets">contentInsets</option>
		
		<option value="//api/name/cornerRadius">cornerRadius</option>
		
		<option value="//api/name/delegate">delegate</option>
		
		<option value="//api/name/indicatorView">indicatorView</option>
		
		<option value="//api/name/interactionType">interactionType</option>
		
		<option value="//api/name/minimumDisplayTime">minimumDisplayTime</option>
		
		<option value="//api/name/parallaxMode">parallaxMode</option>
		
		<option value="//api/name/position">position</option>
		
		<option value="//api/name/progress">progress</option>
		
		<option value="//api/name/shadow">shadow</option>
		
		<option value="//api/name/square">square</option>
		
		<option value="//api/name/style">style</option>
		
		<option value="//api/name/tapOnHUDViewBlock">tapOnHUDViewBlock</option>
		
		<option value="//api/name/tapOutsideBlock">tapOutsideBlock</option>
		
		<option value="//api/name/targetView">targetView</option>
		
		<option value="//api/name/thick">thick</option>
		
		<option value="//api/name/vibrancyEnabled">vibrancyEnabled</option>
		
		<option value="//api/name/visible">visible</option>
		
		<option value="//api/name/voiceOverEnabled">voiceOverEnabled</option>
		
		<option value="//api/name/wantsFocus">wantsFocus</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/allProgressHUDsInView:">+ allProgressHUDsInView:</option>
		
		<option value="//api/name/allProgressHUDsInViewHierarchy:">+ allProgressHUDsInViewHierarchy:</option>
		
		<option value="//api/name/progressHUDWithAutomaticStyle">+ progressHUDWithAutomaticStyle</option>
		
		<option value="//api/name/progressHUDWithStyle:">+ progressHUDWithStyle:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/animation">- animation</option>
		
		<option value="//api/name/contentView">- contentView</option>
		
		<option value="//api/name/detailTextLabel">- detailTextLabel</option>
		
		<option value="//api/name/dismiss">- dismiss</option>
		
		<option value="//api/name/dismissAfterDelay:">- dismissAfterDelay:</option>
		
		<option value="//api/name/dismissAfterDelay:animated:">- dismissAfterDelay:animated:</option>
		
		<option value="//api/name/dismissAfterDelay:animated:completion:">- dismissAfterDelay:animated:completion:</option>
		
		<option value="//api/name/dismissAnimated:">- dismissAnimated:</option>
		
		<option value="//api/name/initWithAutomaticStyle">- initWithAutomaticStyle</option>
		
		<option value="//api/name/initWithStyle:">- initWithStyle:</option>
		
		<option value="//api/name/performAfterDismiss:">- performAfterDismiss:</option>
		
		<option value="//api/name/setProgress:animated:">- setProgress:animated:</option>
		
		<option value="//api/name/showInView:">- showInView:</option>
		
		<option value="//api/name/showInView:animated:">- showInView:animated:</option>
		
		<option value="//api/name/showInView:animated:afterDelay:">- showInView:animated:afterDelay:</option>
		
		<option value="//api/name/textLabel">- textLabel</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">JGProgressHUD Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>UIView</td>
</tr><tr>
	<th>Declared in</th>
	<td>JGProgressHUD.h<br />JGProgressHUD.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>A HUD to indicate <a href="#//api/name/progress">progress</a>, success, error, warnings or other notifications to the user.</p><p>@c JGProgressHUD respects its @c layoutMargins when positioning the HUD view. Additionally, on iOS 11 if @c insetsLayoutMarginsFromSafeArea is set to @c YES (default) the @c layoutMargins additionally contain the @c safeAreaInsets.</p><div class="note"><p><strong>Note:</strong> Remember to call every method from the main thread! UIKit => main thread!
@attention You may not add JGProgressHUD to a view which has an alpha value &lt; 1.0 or to a view which is a subview of a view with an alpha value &lt; 1.0.</p></div>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithStyle:" title="initWithStyle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithStyle:">&ndash;&nbsp;initWithStyle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Designated initializer.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype)initWithStyle:(JGProgressHUDStyle)<em>style</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>style</code></th>
						<td><p>The appearance <a href="#//api/name/style">style</a> of the HUD.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Designated initializer.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/progressHUDWithStyle:" title="progressHUDWithStyle:"></a>
	<h3 class="method-title"><code><a href="#//api/name/progressHUDWithStyle:">+&nbsp;progressHUDWithStyle:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Convenience initializer.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)progressHUDWithStyle:(JGProgressHUDStyle)<em>style</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>style</code></th>
						<td><p>The appearance <a href="#//api/name/style">style</a> of the HUD.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Convenience initializer.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithAutomaticStyle" title="initWithAutomaticStyle"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithAutomaticStyle">&ndash;&nbsp;initWithAutomaticStyle</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Convenience initializer. The HUD will dynamically change its <a href="#//api/name/style">style</a> based on whether dark mode is enabled or not. When dark mode is on, the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleDark, when dark mode is off the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleExtraLight.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (instancetype)initWithAutomaticStyle</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Convenience initializer. The HUD will dynamically change its <a href="#//api/name/style">style</a> based on whether dark mode is enabled or not. When dark mode is on, the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleDark, when dark mode is off the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleExtraLight.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/progressHUDWithAutomaticStyle" title="progressHUDWithAutomaticStyle"></a>
	<h3 class="method-title"><code><a href="#//api/name/progressHUDWithAutomaticStyle">+&nbsp;progressHUDWithAutomaticStyle</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Convenience initializer. The HUD will dynamically change its <a href="#//api/name/style">style</a> based on whether dark mode is enabled or not. When dark mode is on, the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleDark, when dark mode is off the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleExtraLight.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)progressHUDWithAutomaticStyle</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Convenience initializer. The HUD will dynamically change its <a href="#//api/name/style">style</a> based on whether dark mode is enabled or not. When dark mode is on, the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleDark, when dark mode is off the <a href="#//api/name/style">style</a> will be JGProgressHUDStyleExtraLight.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showInView:" title="showInView:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showInView:">&ndash;&nbsp;showInView:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Shows the HUD animated. You should preferably show the HUD in a UIViewController&rsquo;s view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)showInView:(UIView *)<em>view</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>The view to show the HUD in. The frame of the @c view will be used to calculate the <a href="#//api/name/position">position</a> of the HUD.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Shows the HUD animated. You should preferably show the HUD in a UIViewController&rsquo;s view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showInView:animated:" title="showInView:animated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showInView:animated:">&ndash;&nbsp;showInView:animated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Shows the HUD. You should preferably show the HUD in a UIViewController&rsquo;s view.  The HUD will be repositioned in response to rotation and keyboard show/hide notifications.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)showInView:(UIView *)<em>view</em> animated:(BOOL)<em>animated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>The view to show the HUD in. The frame of the @c view will be used to calculate the <a href="#//api/name/position">position</a> of the HUD.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>If the HUD should show with an <a href="#//api/name/animation">animation</a>.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Shows the HUD. You should preferably show the HUD in a UIViewController&rsquo;s view.  The HUD will be repositioned in response to rotation and keyboard show/hide notifications.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/showInView:animated:afterDelay:" title="showInView:animated:afterDelay:"></a>
	<h3 class="method-title"><code><a href="#//api/name/showInView:animated:afterDelay:">&ndash;&nbsp;showInView:animated:afterDelay:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Shows the HUD after a delay. You should preferably show the HUD in a UIViewController&rsquo;s view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.
You may call @c <a href="#//api/name/dismiss">dismiss</a> to stop the HUD from appearing before the delay has passed.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)showInView:(UIView *__nonnull)<em>view</em> animated:(BOOL)<em>animated</em> afterDelay:(NSTimeInterval)<em>delay</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>The view to show the HUD in. The frame of the @c view will be used to calculate the <a href="#//api/name/position">position</a> of the HUD.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>If the HUD should show with an <a href="#//api/name/animation">animation</a>.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>delay</code></th>
						<td><p>The delay until the HUD will be shown.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Shows the HUD after a delay. You should preferably show the HUD in a UIViewController&rsquo;s view. The HUD will be repositioned in response to rotation and keyboard show/hide notifications.
You may call @c <a href="#//api/name/dismiss">dismiss</a> to stop the HUD from appearing before the delay has passed.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismiss" title="dismiss"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismiss">&ndash;&nbsp;dismiss</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Dismisses the HUD animated. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)dismiss</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Dismisses the HUD animated. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAnimated:" title="dismissAnimated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAnimated:">&ndash;&nbsp;dismissAnimated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Dismisses the HUD. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)dismissAnimated:(BOOL)<em>animated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>If the HUD should <a href="#//api/name/dismiss">dismiss</a> with an <a href="#//api/name/animation">animation</a>.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Dismisses the HUD. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAfterDelay:" title="dismissAfterDelay:"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAfterDelay:">&ndash;&nbsp;dismissAfterDelay:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Dismisses the HUD animated after a delay. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)dismissAfterDelay:(NSTimeInterval)<em>delay</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>delay</code></th>
						<td><p>The delay until the HUD will be dismissed.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Dismisses the HUD animated after a delay. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAfterDelay:animated:" title="dismissAfterDelay:animated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAfterDelay:animated:">&ndash;&nbsp;dismissAfterDelay:animated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Dismisses the HUD after a delay. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)dismissAfterDelay:(NSTimeInterval)<em>delay</em> animated:(BOOL)<em>animated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>delay</code></th>
						<td><p>The delay until the HUD will be dismissed.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>If the HUD should <a href="#//api/name/dismiss">dismiss</a> with an <a href="#//api/name/animation">animation</a>.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Dismisses the HUD after a delay. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dismissAfterDelay:animated:completion:" title="dismissAfterDelay:animated:completion:"></a>
	<h3 class="method-title"><code><a href="#//api/name/dismissAfterDelay:animated:completion:">&ndash;&nbsp;dismissAfterDelay:animated:completion:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Dismisses the HUD after a delay and runs a block upon completion. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)dismissAfterDelay:(NSTimeInterval)<em>delay</em> animated:(BOOL)<em>animated</em> completion:(void ( ^ _Nullable ) ( void ))<em>dismissCompletion</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>delay</code></th>
						<td><p>The delay until the HUD will be dismissed.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>If the HUD should <a href="#//api/name/dismiss">dismiss</a> with an <a href="#//api/name/animation">animation</a>.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>dismissCompletion</code></th>
						<td><p>The block to execute after the HUD was dismissed.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Dismisses the HUD after a delay and runs a block upon completion. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/performAfterDismiss:" title="performAfterDismiss:"></a>
	<h3 class="method-title"><code><a href="#//api/name/performAfterDismiss:">&ndash;&nbsp;performAfterDismiss:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Schedules the given block to be executed when this HUD disapears. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)performAfterDismiss:(void ( ^ _Nonnull ) ( void ))<em>dismissCompletion</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>dismissCompletion</code></th>
						<td><p>The block to execute after the HUD was dismissed. Multiple calls to this method cause the different blocks to be executed in FIFO order.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Schedules the given block to be executed when this HUD disapears. If the HUD is currently not <a href="#//api/name/visible">visible</a> this method does nothing.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/contentView" title="contentView"></a>
	<h3 class="method-title"><code><a href="#//api/name/contentView">&ndash;&nbsp;contentView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The content view inside the @c <a href="#//api/name/HUDView">HUDView</a>. If you want to add additional views to the HUD you should add them as subview to the @c contentView.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (UIView *)contentView</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The content view inside the @c <a href="#//api/name/HUDView">HUDView</a>. If you want to add additional views to the HUD you should add them as subview to the @c contentView.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/textLabel" title="textLabel"></a>
	<h3 class="method-title"><code><a href="#//api/name/textLabel">&ndash;&nbsp;textLabel</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The label used to present text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label&rsquo;s @c frame or @c bounds.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (UILabel *)textLabel</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The label used to present text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label&rsquo;s @c frame or @c bounds.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/detailTextLabel" title="detailTextLabel"></a>
	<h3 class="method-title"><code><a href="#//api/name/detailTextLabel">&ndash;&nbsp;detailTextLabel</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The label used to present detail text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label&rsquo;s @c frame or @c bounds.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (UILabel *)detailTextLabel</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The label used to present detail text on the HUD. Set the @c text or @c attributedText property of this label to change the displayed text. You may not change the label&rsquo;s @c frame or @c bounds.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/animation" title="animation"></a>
	<h3 class="method-title"><code><a href="#//api/name/animation">&ndash;&nbsp;animation</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The animation used for showing and dismissing the HUD.
@b Default: <a href="../Classes/JGProgressHUDFadeAnimation.html">JGProgressHUDFadeAnimation</a>.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (JGProgressHUDAnimation *)animation</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The animation used for showing and dismissing the HUD.
@b Default: <a href="../Classes/JGProgressHUDFadeAnimation.html">JGProgressHUDFadeAnimation</a>.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/setProgress:animated:" title="setProgress:animated:"></a>
	<h3 class="method-title"><code><a href="#//api/name/setProgress:animated:">&ndash;&nbsp;setProgress:animated:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Adjusts the current <a href="#//api/name/progress">progress</a> shown by the receiver, optionally animating the change.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)setProgress:(float)<em>progress</em> animated:(BOOL)<em>animated</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>progress</code></th>
						<td><p>The new <a href="#//api/name/progress">progress</a> value.</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>animated</code></th>
						<td><p>YES if the change should be animated, NO if the change should happen immediately.</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Adjusts the current <a href="#//api/name/progress">progress</a> shown by the receiver, optionally animating the change.</p>

<p>The current <a href="#//api/name/progress">progress</a> is represented by a floating-point value between 0.0 and 1.0, inclusive, where 1.0 indicates the completion of the task. The default value is 0.0. Values less than 0.0 and greater than 1.0 are pinned to those limits.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						
						<h2 class="task-title">Other Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/style" title="style"></a>
	<h3 class="method-title"><code><a href="#//api/name/style">&nbsp;&nbsp;style</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The appearance style of the HUD.
@b Default: JGProgressHUDStyleExtraLight.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) JGProgressHUDStyle style</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The appearance style of the HUD.
@b Default: JGProgressHUDStyleExtraLight.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/targetView" title="targetView"></a>
	<h3 class="method-title"><code><a href="#//api/name/targetView">&nbsp;&nbsp;targetView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The view in which the HUD is presented.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak, readonly, nullable) UIView *targetView</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The view in which the HUD is presented.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/delegate" title="delegate"></a>
	<h3 class="method-title"><code><a href="#//api/name/delegate">&nbsp;&nbsp;delegate</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The delegate of the HUD.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, weak, nullable) id&lt;JGProgressHUDDelegate&gt; delegate</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The delegate of the HUD.</p>
			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Protocols/JGProgressHUDDelegate.html">JGProgressHUDDelegate</a>.</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/HUDView" title="HUDView"></a>
	<h3 class="method-title"><code><a href="#//api/name/HUDView">&nbsp;&nbsp;HUDView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The actual HUD view <a href="#//api/name/visible">visible</a> on screen. You may add animations to this view.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readonly, nonnull) UIView *HUDView</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The actual HUD view <a href="#//api/name/visible">visible</a> on screen. You may add animations to this view.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/indicatorView" title="indicatorView"></a>
	<h3 class="method-title"><code><a href="#//api/name/indicatorView">&nbsp;&nbsp;indicatorView</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The indicator view. You can assign a custom subclass of @c <a href="../Classes/JGProgressHUDIndicatorView.html">JGProgressHUDIndicatorView</a> to this property or one of the default indicator views (if you do so, you should assign it before showing the HUD). This value is optional.
@b Default: <a href="../Classes/JGProgressHUDIndeterminateIndicatorView.html">JGProgressHUDIndeterminateIndicatorView</a>.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) JGProgressHUDIndicatorView *indicatorView</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The indicator view. You can assign a custom subclass of @c <a href="../Classes/JGProgressHUDIndicatorView.html">JGProgressHUDIndicatorView</a> to this property or one of the default indicator views (if you do so, you should assign it before showing the HUD). This value is optional.
@b Default: <a href="../Classes/JGProgressHUDIndeterminateIndicatorView.html">JGProgressHUDIndeterminateIndicatorView</a>.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/shadow" title="shadow"></a>
	<h3 class="method-title"><code><a href="#//api/name/shadow">&nbsp;&nbsp;shadow</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The shadow cast by the @c <a href="#//api/name/HUDView">HUDView</a>. This value is optional. Setting this to @c nil means no shadow is cast by the HUD.
@b Default: nil.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, nullable) JGProgressHUDShadow *shadow</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The shadow cast by the @c <a href="#//api/name/HUDView">HUDView</a>. This value is optional. Setting this to @c nil means no shadow is cast by the HUD.
@b Default: nil.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/position" title="position"></a>
	<h3 class="method-title"><code><a href="#//api/name/position">&nbsp;&nbsp;position</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The position of the HUD inside the hosting view&rsquo;s frame, or inside the specified frame.
@b Default: JGProgressHUDPositionCenter</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) JGProgressHUDPosition position</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The position of the HUD inside the hosting view&rsquo;s frame, or inside the specified frame.
@b Default: JGProgressHUDPositionCenter</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/interactionType" title="interactionType"></a>
	<h3 class="method-title"><code><a href="#//api/name/interactionType">&nbsp;&nbsp;interactionType</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Interaction type of the HUD. Determines whether touches should be let through to the views behind the HUD.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) JGProgressHUDInteractionType interactionType</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Interaction type of the HUD. Determines whether touches should be let through to the views behind the HUD.</p>
			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Constants/JGProgressHUDInteractionType.html">JGProgressHUDInteractionType</a>.
@b Default: JGProgressHUDInteractionTypeBlockAllTouches.</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/parallaxMode" title="parallaxMode"></a>
	<h3 class="method-title"><code><a href="#//api/name/parallaxMode">&nbsp;&nbsp;parallaxMode</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Parallax mode for the HUD. This setting determines whether the HUD should have a parallax (@c UIDeviceMotion) effect. This effect is controlled by device motion on iOS and remote touchpad panning gestures on tvOS.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) JGProgressHUDParallaxMode parallaxMode</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Parallax mode for the HUD. This setting determines whether the HUD should have a parallax (@c UIDeviceMotion) effect. This effect is controlled by device motion on iOS and remote touchpad panning gestures on tvOS.</p>
			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p><a href="../Constants/JGProgressHUDParallaxMode.html">JGProgressHUDParallaxMode</a>.
@b Default: JGProgressHUDParallaxModeDevice.</p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/wantsFocus" title="wantsFocus"></a>
	<h3 class="method-title"><code><a href="#//api/name/wantsFocus">&nbsp;&nbsp;wantsFocus</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>When this property is set to @c YES the HUD will try to become focused, which prevents interactions with the @c <a href="#//api/name/targetView">targetView</a>. If set to @c NO the HUD will not become focused and interactions with @c <a href="#//api/name/targetView">targetView</a> remain possible. Default: @c YES.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL wantsFocus</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>When this property is set to @c YES the HUD will try to become focused, which prevents interactions with the @c <a href="#//api/name/targetView">targetView</a>. If set to @c NO the HUD will not become focused and interactions with @c <a href="#//api/name/targetView">targetView</a> remain possible. Default: @c YES.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/square" title="square"></a>
	<h3 class="method-title"><code><a href="#//api/name/square">&nbsp;&nbsp;square</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>If the HUD should always have the same width and height.
@b Default: NO.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL square</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>If the HUD should always have the same width and height.
@b Default: NO.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/vibrancyEnabled" title="vibrancyEnabled"></a>
	<h3 class="method-title"><code><a href="#//api/name/vibrancyEnabled">&nbsp;&nbsp;vibrancyEnabled</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Internally @c JGProgressHUD uses an @c UIVisualEffectView with a @c UIBlurEffect. A second @c UIVisualEffectView can be added on top of that with a @c UIVibrancyEffect which amplifies and adjusts the color of content layered behind the view, allowing content placed inside the <a href="#//api/name/contentView">contentView</a> to become more vivid. This flag sets whether the @c UIVibrancyEffect should be used. Using the vibrancy effect can sometimes, depending on the contents of the display, result in a weird look (especially on iOS &lt; 9.3).
@b Default: NO.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL vibrancyEnabled</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Internally @c JGProgressHUD uses an @c UIVisualEffectView with a @c UIBlurEffect. A second @c UIVisualEffectView can be added on top of that with a @c UIVibrancyEffect which amplifies and adjusts the color of content layered behind the view, allowing content placed inside the <a href="#//api/name/contentView">contentView</a> to become more vivid. This flag sets whether the @c UIVibrancyEffect should be used. Using the vibrancy effect can sometimes, depending on the contents of the display, result in a weird look (especially on iOS &lt; 9.3).
@b Default: NO.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/cornerRadius" title="cornerRadius"></a>
	<h3 class="method-title"><code><a href="#//api/name/cornerRadius">&nbsp;&nbsp;cornerRadius</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The radius used for rounding the four corners of the HUD view.
@b Default: 10.0.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) CGFloat cornerRadius</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The radius used for rounding the four corners of the HUD view.
@b Default: 10.0.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/contentInsets" title="contentInsets"></a>
	<h3 class="method-title"><code><a href="#//api/name/contentInsets">&nbsp;&nbsp;contentInsets</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Insets the contents of the HUD.
@b Default: (20, 20, 20, 20).</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) UIEdgeInsets contentInsets</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Insets the contents of the HUD.
@b Default: (20, 20, 20, 20).</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/visible" title="visible"></a>
	<h3 class="method-title"><code><a href="#//api/name/visible">&nbsp;&nbsp;visible</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Whether the HUD is visible on screen.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly, getter=isVisible) BOOL visible</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>Whether the HUD is visible on screen.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/progress" title="progress"></a>
	<h3 class="method-title"><code><a href="#//api/name/progress">&nbsp;&nbsp;progress</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The progress to display using the @c progressIndicatorView. A change of this property is not animated. Use the @c <a href="#//api/name/setProgress:animated:">setProgress:animated:</a> method for an animated progress change.
@b Default: 0.0.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) float progress</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>The progress to display using the @c progressIndicatorView. A change of this property is not animated. Use the @c <a href="#//api/name/setProgress:animated:">setProgress:animated:</a> method for an animated progress change.
@b Default: 0.0.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/minimumDisplayTime" title="minimumDisplayTime"></a>
	<h3 class="method-title"><code><a href="#//api/name/minimumDisplayTime">&nbsp;&nbsp;minimumDisplayTime</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Specifies a minimum time that the HUD will be on-screen. Useful to prevent the HUD from flashing quickly on the screen when indeterminate tasks complete more quickly than expected.
@b Default: 0.0.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSTimeInterval minimumDisplayTime</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Specifies a minimum time that the HUD will be on-screen. Useful to prevent the HUD from flashing quickly on the screen when indeterminate tasks complete more quickly than expected.
@b Default: 0.0.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/voiceOverEnabled" title="voiceOverEnabled"></a>
	<h3 class="method-title"><code><a href="#//api/name/voiceOverEnabled">&nbsp;&nbsp;voiceOverEnabled</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Determines whether Voice Over announcements should be made upon displaying the HUD (if Voice Over is active).
@b Default: YES</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL voiceOverEnabled</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Determines whether Voice Over announcements should be made upon displaying the HUD (if Voice Over is active).
@b Default: YES</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tapOnHUDViewBlock" title="tapOnHUDViewBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/tapOnHUDViewBlock">&nbsp;&nbsp;tapOnHUDViewBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>A block to be invoked when the HUD view is tapped.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) void ( ^ ) ( JGProgressHUD *__nonnull HUD ) tapOnHUDViewBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>A block to be invoked when the HUD view is tapped.</p><div class="note"><p><strong>Note:</strong> The interaction type of the HUD must be @c JGProgressHUDInteractionTypeBlockTouchesOn<a href="#//api/name/HUDView">HUDView</a> or @c JGProgressHUDInteractionTypeBlockAllTouches, otherwise this block won&rsquo;t be fired.</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tapOutsideBlock" title="tapOutsideBlock"></a>
	<h3 class="method-title"><code><a href="#//api/name/tapOutsideBlock">&nbsp;&nbsp;tapOutsideBlock</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>A block to be invoked when the area outside of the HUD view is tapped.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, nullable) void ( ^ ) ( JGProgressHUD *__nonnull HUD ) tapOutsideBlock</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>A block to be invoked when the area outside of the HUD view is tapped.</p><div class="note"><p><strong>Note:</strong> The interaction type of the HUD must be @c JGProgressHUDInteractionTypeBlockAllTouches, otherwise this block won&rsquo;t be fired.</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="Extension Methods" name="task_Extension Methods"></a>
						<h2 class="task-title">Extension Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/thick" title="thick"></a>
	<h3 class="method-title"><code><a href="#//api/name/thick">&nbsp;&nbsp;thick</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Setting this to @c YES makes the text and indicator views bigger.
@b Default: NO.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL thick</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Setting this to @c YES makes the text and indicator views bigger.
@b Default: NO.</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.m</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						

						<a title="HUDManagement Methods" name="task_HUDManagement Methods"></a>
						<h2 class="task-title">HUDManagement Methods</h2>

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/allProgressHUDsInView:" title="allProgressHUDsInView:"></a>
	<h3 class="method-title"><code><a href="#//api/name/allProgressHUDsInView:">+&nbsp;allProgressHUDsInView:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The view to return all <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs for.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)allProgressHUDsInView:(UIView *)<em>view</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>The view to return all <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs for.</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>All <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs in the view.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/allProgressHUDsInViewHierarchy:" title="allProgressHUDsInViewHierarchy:"></a>
	<h3 class="method-title"><code><a href="#//api/name/allProgressHUDsInViewHierarchy:">+&nbsp;allProgressHUDsInViewHierarchy:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>The view to return all <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs for.</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSArray *)allProgressHUDsInViewHierarchy:(UIView *)<em>view</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>view</code></th>
						<td><p>The view to return all <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs for.</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>All <a href="#//api/name/visible">visible</a> <a href="#//api/name/progress">progress</a> HUDs in the view and its subviews.</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">JGProgressHUD.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2020 Jonas Gessner. All rights reserved. Updated: 2020-10-16</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1333)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>